package 面试.动态代理.JDK;

/**
 * 实现代理操作
 * 获取代理类
 */
public class Test {
    public static void main(String[] args) {
        SmsService smsService= (SmsService) ProxyFactory.getProxy(new SmsServiceImpl());
        smsService.sned("zzzzzzzzzz");
    }
}
